public class Solution1295 {
    public int findNumbers(int[] nums) {
        int ans=0;
        for (int num : nums) {
            ans+=1-String.valueOf(num).length()%2;
        }
        return ans;
    }

    public static void main(String[] args) {
        System.out.println(new Solution1295().findNumbers(new int[]{12,345,2,6,7896}));
    }
}
